<?php 
include('config.php'); 
include('admincore.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php include('inc.php'); ?>
</head>

<body>
<?php $nav = 'cache';include('head.php'); ?>

<div id="hd_main">

  <div class="btnlist"><a<?php echo $_GET['c']=='0'?' class="this"':''?> href="./cache.php?act=cache&c=0">清除列表缓存</a></div>
  <div class="cl10"></div> 
   <div style="margin:20px; line-height:200%; text-align:left; color:#090; font-size:14px;">
 ★ 注意！！！如非必要请不要点击清除，如果文件很多，会卡死你。<div class="cl10"></div> 
★ 缓存是为了加速访问，删掉缓存不会影响之前的收录，只是会再去抓取数据。空间不够用的话，定期手动删掉部分缓存可以节省空间占用。
<?php
if(isset($_GET['c']) && isset($_GET['act']) && $_GET['act']=='cache') {
	$c = $_GET['c'];
	switch($c){
		case '0':
		$path = '../data/list/';
		deleteAll($path);
		break;
	}
}
?>
   </div>
</div><!--main-->

<?php include('foot.php'); ?>

</body>
</html>
